import request from '@/utils/request'

// 查询预约时段详情列表列表
export function listBooking_time_info(query) {
    return request({
        url: '/pv/booking_time_info/list',
        method: 'get',
        params: query
    })
}

// 查询预约时段详情列表详细
export function getBooking_time_info(id) {
    return request({
        url: '/pv/booking_time_info/' + id,
        method: 'get'
    })
}

// 新增预约时段详情列表
export function addBooking_time_info(data) {
    return request({
        url: '/pv/booking_time_info',
        method: 'post',
        data: data
    })
}

// 修改预约时段详情列表
export function updateBooking_time_info(data) {
    return request({
        url: '/pv/booking_time_info',
        method: 'put',
        data: data
    })
}

// 删除预约时段详情列表
export function delBooking_time_info(id) {
    return request({
        url: '/pv/booking_time_info/' + id,
        method: 'delete'
    })
}
